package cn.edu.njuit.children.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 *
 * @TableName sys_recipe_type
 */
@TableName(value ="sys_recipe_type")
@Data
public class RecipeType implements Serializable {
    /**
     * 编码
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 主分类名
     */
    @TableField(value = "mian_type_name")
    private String mianTypeName;

    /**
     * 分类名称
     */
    @TableField(value = "typt_name")
    private String typtName;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
